package com.solidumgame.martillo.hammer
{	
	import com.pblabs.engine.PBE;
	import com.pblabs.engine.entity.PropertyReference;
	import com.pblabs.rendering2D.SpriteRenderer;
	
	/**
	 * 
	 * @author martin
	 * 
	 */	
	public class HammerRendererComponent extends SpriteRenderer
	{	
		/**
		 * 
		 * 
		 */		
		public function HammerRendererComponent()
		{
			super();
			
			this.fileName = "../assets/Hammer.png";
			this.scene = PBE.scene;
			this.layerIndex = 20;
			this.positionProperty = new PropertyReference("@Spatial.position");
			this.sizeProperty = new PropertyReference("@Spatial.size");
			this.rotationProperty = new PropertyReference("@Spatial.rotation");
		}
		
		override protected function onReset():void{
			super.onReset();
			//this.alpha=0;
		}
		
		
		
	}
}